package com.ij.media.web;

import com.ij.sso.utils.ReturnUtil;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class TestController {
    private Logger logger = LoggerFactory.getLogger(this.getClass());
    @RequestMapping("/test")
    @ResponseBody
    public ReturnUtil test(){
        System.out.println("test");
        logger.info("进入测试");
        return ReturnUtil.success();
    }


    @RequestMapping("/d")
    public String D(){
        System.out.println("d.html");
        return "d";
    }
}
